
#ifkeyequals <Faction,Alliance>

	#ifkeyequals <Race,Human>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif

		#ifkeyequals <Race,Dwarf>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif
	#ifkeyequals <Race,Gnome>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif
	#ifkeyequals <Race,Draenei>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif
	#ifkeyequals <Race,NightElf>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif

#endif


#ifkeyequals <Faction,Horde>
	#ifkeyquals <Race,Orc>
	
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif
		
	#endif
	#ifkeyequals <Race,Troll>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif
	#ifkeyequals <Race,Undead>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif
	#ifkeyequals <Race,BloodElf>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif
	#ifkeyequals <Race,Tauren>
		
		#ifkeyequals <LevelRange,110>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,1020>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,2030>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,3040>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,4050>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,5060>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,6070>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

		#ifkeyequals <LevelRange,7080>
			Vendor
			{
				$NPC = ""; // NPC to repair and sell to
				$Location = [,,]; // Location of NPC. Optional but recommended to help PPather find the NPC
				$MinDurability = GetState("RestDurability");
				$MinFreeBagSlots = GetState("VendorMinSlots");
				$Protected = GetState("ProtectedVendor");
				$SellGray = GetState("VendorGreens");
				$SellWhite = GetState("VendorWhite");
				$SellGreen = GetState("VendorGray");
				$BlacklistTime = 300; // Blacklist vendor for 5 minutes
			}
		#endif

	#endif

#endif